package net.protocol.diameter.avp;

import net.protocol.diameter.DiameterException;

public class IllegalDiameterAvpException extends DiameterException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8404511927957493500L;
	
    /**
     * Constructs an <code>IllegalDiameterAvpException</code> with no
     * detail message.
     */
    public IllegalDiameterAvpException() {
        super();
    }
    
    /**
     * Constructs an <code>IllegalDiameterAvpException</code> with the
     * specified detail message.
     *
     * @param   s   the detail message.
     */
    public IllegalDiameterAvpException(String s) {
        super(s);
    }
    
    /**
     * Constructs a new <code>IllegalDiameterAvpException</code> with the
     * specified detail message.
     *
     * @param expected
     * @param actual
     */
    public IllegalDiameterAvpException(Object expected, Object actual) {
        super("expected:<" + expected + "> but was:<" + actual + ">");
    }
    
    public IllegalDiameterAvpException(String message, Throwable cause) {
        super(message, cause);
    }
    
    public IllegalDiameterAvpException(Throwable cause) {
        super(cause);
    }
}
